Optimal. Leaf size=163 \[ \frac {3 F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {2}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{4 d \sqrt {a+b \tan (c+d x)}}+\frac {3 F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {2}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{4 d \sqrt {a+b \tan (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 163, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3656, 926, 129,
525, 524} \begin {gather*} \frac {3 \tan ^{\frac {2}{3}}(c+d x) \sqrt {\frac {b \tan (c+d x)}{a}+1} F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right )}{4 d \sqrt {a+b \tan (c+d x)}}+\frac {3 \tan ^{\frac {2}{3}}(c+d x) \sqrt {\frac {b \tan (c+d x)}{a}+1} F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right )}{4 d \sqrt {a+b \tan (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 129
Rule 524
Rule 525
Rule 926
Rule 3656
Rubi steps
\begin {align*} \int \frac {1}{\sqrt [3]{\tan (c+d x)} \sqrt {a+b \tan (c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\sqrt [3]{x} \sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {\text {Subst}\left (\int \left (\frac {i}{2 (i-x) \sqrt [3]{x} \sqrt {a+b x}}+\frac {i}{2 \sqrt [3]{x} (i+x) \sqrt {a+b x}}\right ) \, dx,x,\tan (c+d x)\right )}{d}\\ &=\frac {i \text {Subst}\left (\int \frac {1}{(i-x) \sqrt [3]{x} \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}+\frac {i \text {Subst}\left (\int \frac {1}{\sqrt [3]{x} (i+x) \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 d}\\ &=\frac {(3 i) \text {Subst}\left (\int \frac {x}{\left (i-x^3\right ) \sqrt {a+b x^3}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d}+\frac {(3 i) \text {Subst}\left (\int \frac {x}{\left (i+x^3\right ) \sqrt {a+b x^3}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d}\\ &=\frac {\left (3 i \sqrt {1+\frac {b \tan (c+d x)}{a}}\right ) \text {Subst}\left (\int \frac {x}{\left (i-x^3\right ) \sqrt {1+\frac {b x^3}{a}}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d \sqrt {a+b \tan (c+d x)}}+\frac {\left (3 i \sqrt {1+\frac {b \tan (c+d x)}{a}}\right ) \text {Subst}\left (\int \frac {x}{\left (i+x^3\right ) \sqrt {1+\frac {b x^3}{a}}} \, dx,x,\sqrt [3]{\tan (c+d x)}\right )}{2 d \sqrt {a+b \tan (c+d x)}}\\ &=\frac {3 F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};-i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {2}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{4 d \sqrt {a+b \tan (c+d x)}}+\frac {3 F_1\left (\frac {2}{3};1,\frac {1}{2};\frac {5}{3};i \tan (c+d x),-\frac {b \tan (c+d x)}{a}\right ) \tan ^{\frac {2}{3}}(c+d x) \sqrt {1+\frac {b \tan (c+d x)}{a}}}{4 d \sqrt {a+b \tan (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(32685\) vs. \(2(163)=326\).
time = 118.64, size = 32685, normalized size = 200.52 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.39, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {a +b \tan \left (d x +c \right )}\, \tan \left (d x +c \right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a + b \tan {\left (c + d x \right )}} \sqrt [3]{\tan {\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{{\mathrm {tan}\left (c+d\,x\right )}^{1/3}\,\sqrt {a+b\,\mathrm {tan}\left (c+d\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________